<?php

	session_start();
?>
		<meta http-equiv="content-type" content="text/HTML; charset=UTF-8" />
		<?php
			
		?>	

<?php
$path="C:/xampp/htdocs/00_JO/JOi/";
require ($path.'JO_02_function.php');
require ($path.'DataProvider/DataProvider.php');

if(isset($_REQUEST["JO_controller"])){
    switch ($_REQUEST["JO_controller"]){
            case "JO_voteController":
                    include ('JO_voteController.php');
                    break;
            case "JO_commentOBJController":
                    include ('JO_commentOBJController.php');
                    break;
            case "index_controller":
                    include 'JO_indexController.php';
                    break;
            case "topic_controller":
                    include 'JO_topicController.php';
                    break;
            case "JO_ringbacktone_Controller":
                    include 'JO_ringbacktone_Controller.php';
                    break;

			case "JO_artist_Controller":
                    include 'JO_artist_Controller.php';
                    break;

            case "SO_artistController":
                    include './JO_20_SO/SO_artistController.php';
                    break;
			case "JO_Find_Pass_Controller":
			        include 'JO_Find_Pass_controller.php';
                    break;

    }
}
if(isset($_REQUEST["SO_controller"])){
    switch ($_REQUEST["SO_controller"]){
            case "SO_recommendation_Controller":

                    include ('SO_recommendation_Controller.php');
                    break;


    }
}
if(isset($_REQUEST["JO_query"])){
    switch ($_REQUEST["JO_query"]){
        case "JO_hidden_notice":
            $_SESSION[ "JO_show_notice" ] = "hidden";
            break;
        case "JO_logout":
            session_destroy();
            JO_location();
            break;
        case "JO_debug":
            $_SESSION[ "JO_account_debug" ]=isset($_SESSION[ "JO_account_debug" ])?(!$_SESSION[ "JO_account_debug" ]):true;
            JO_location();
            break;
    }
}
if(isset($_REQUEST["JO_lang"])){
    switch ($_REQUEST["JO_lang"]){
        case "VI":
            $_SESSION["lang"]="VI";
            JO_location();
            break;
        case "EN":
            $_SESSION["lang"]="EN";
            JO_location();
            break;
    }
}
?>


